package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.regex.Pattern;

@ApiModel("处理报警数据")
@Data
public class ProcessAlertDataDto {
    @ApiModelProperty("处理报警数据id")
    private Long id;

    @ApiModelProperty("处理报警数据时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime processingTime;

    @ApiModelProperty("处理报警数据结果")
    private String processingResult;
}
